﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     Json序列化实体类库
//     收益序列化对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using CL.Json.Entity;
using System.Collections.Generic;

namespace CL.Entity.Json.WebAPI
{
    /// <summary>
    /// EarningsResult 对象
    /// 收益回调
    /// </summary>
    public class EarningsResult : JsonResult
    {
        /// <summary>
        /// EarningsData 对象
        /// </summary>
        public List<EarningsData> Data { set; get; }
        /// <summary>
        /// 总数
        /// </summary>
        public int Counts { set; get; }
    }
    /// <summary>
    /// EarningsData 对象
    /// 收益内容
    /// </summary>
    public class EarningsData
    {
        /// <summary>
        /// 日期
        /// </summary>
        public string Day { set; get; }
        /// <summary>
        /// 销售总额
        /// </summary>
        public long BuyAmount { set; get; }

        /// <summary>
        /// 预收益金额
        /// </summary>
        public double EarnAmount { set; get; }
    }
}
